﻿using System;
using System.Windows.Input;
using Syncfusion.Windows.PdfViewer;

namespace PdfSdk.PdfViewer
{
    public class LocalizationManagerWrapper : ObjectWrapper
    {
        private static readonly Type s_originalType = typeof(LocalizationManager);
        private static Cursor s_stickyNoteCursor;
        private static Cursor s_eraser;
        private static Cursor s_zoomRestriction;
        private static Cursor s_zoomIn;
        private static Cursor s_zooomOut;
        private static Cursor s_panHover;
        private static Cursor s_panPressed;

        public LocalizationManagerWrapper(object obj) : base(obj)
        {
        }

        public static Cursor StickyNoteCursor => s_stickyNoteCursor ??= GetPropertyValue(s_originalType) as Cursor;
        public static Cursor Eraser => s_eraser ??= GetPropertyValue(s_originalType) as Cursor;
        public static Cursor ZoomRestriction => s_zoomRestriction ??= GetPropertyValue(s_originalType) as Cursor;
        public static Cursor ZoomIn => s_zoomIn ??= GetPropertyValue(s_originalType) as Cursor;
        public static Cursor ZooomOut => s_zooomOut ??= GetPropertyValue(s_originalType) as Cursor;
        public static Cursor PanHover => s_panHover ??= GetPropertyValue(s_originalType) as Cursor;
        public static Cursor PanPressed => s_panPressed ??= GetPropertyValue(s_originalType) as Cursor;
    }
}
